package com.zenchn.entity;

import com.zenchn.model.TSysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 角色编辑映射
 *
 * @author dingxinfa
 * @date 2018-08-28
 **/
@ApiModel(value="角色编辑映射",description="角色编辑映射对象")
public class TSysRoleDO extends TSysRole {

    @NotNull(message = "角色拥有权限ID列表不能为空")
    @ApiModelProperty(value="角色拥有权限ID列表")
    List<String> authIdList;

    public List<String> getAuthIdList() {
        return authIdList;
    }

    public void setAuthIdList(List<String> authIdList) {
        this.authIdList = authIdList;
    }
}
